# -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations
#########################################################################
## Customize your APP title, subtitle and menus here
#########################################################################

response.title = 'Chris_Steel'
response.subtitle = T('fair access is good for everyone')

#http://dev.w3.org/html5/markup/meta.name.html
response.meta.author = 'Christopher Steel'
response.meta.description = 'Website for Chris Steel'
response.meta.keywords = 'Chris Steel, Programming, Programmer, Python, Web2py'
response.meta.generator = 'chrissteel'
response.meta.copyright = 'Copyright 2011'


##########################################
## this is the main application menu
## add/remove items as required
##########################################

response.menu = [
    (T('home'), False, URL(request.application,'default','index'), [])
    ]

response.menu += [
    (T('my work'), False, URL(request.application,'default','my_work'), [])
    ]

response.menu += [
    (T('resources'), False, URL(request.application,'default','resources'), [])
    ]

response.menu += [
    (T('about me'), False, URL(request.application,'default','about_me'), [])
    ]
    
response.menu += [
    (T('contact'), False, URL(request.application,'default','contact'), [])
    ]

##########################################
## this is here to provide shortcuts
## during development. remove in production
##
## mind that plugins may also affect menu
##########################################

#########################################
## Make your own menus
##########################################

response.menu_dev=[
    (T('This App'), False, URL('admin', 'default', 'design/%s' % request.application),
     [
            (T('Controller'), False,
             URL('admin', 'default', 'edit/%s/controllers/%s.py' \
                     % (request.application,request.controller=='appadmin' and
                        'default' or request.controller))),
            (T('View'), False,
             URL('admin', 'default', 'edit/%s/views/%s' \
                     % (request.application,response.view))),
            (T('Layout'), False,
             URL('admin', 'default', 'edit/%s/views/layout.html' \
                     % request.application)),
            (T('Stylesheet'), False,
             URL('admin', 'default', 'edit/%s/static/base.css' \
                     % request.application)),
            (T('DB Model'), False,
             URL('admin', 'default', 'edit/%s/models/db.py' \
                     % request.application)),
            (T('Menu Model'), False,
             URL('admin', 'default', 'edit/%s/models/menu.py' \
                     % request.application)),
            (T('Database'), False,
             URL(request.application, 'appadmin', 'index')),

            (T('Errors'), False,
             URL('admin', 'default', 'errors/%s' \
                     % request.application)),

            (T('About'), False,
             URL('admin', 'default', 'about/%s' \
                     % request.application)),

            ]
   )]
